package com.gomoney.auth.service;


import com.gomoney.oauth2.common.entity.sys.SysUser;
import com.gomoney.oauth2.common.util.PageUtils;
import com.gomoney.oauth2.common.util.R;

import java.util.Map;

public interface SysUserService {
    R createToken(String id);

    SysUser findSysUserByName(String name);

    SysUser login(String name);

    PageUtils list(Map<String, Object> params);

    void updatePassword(SysUser login);

    SysUser findSysUserById(String id);

    void updateSysUser(SysUser user);

    void saveSysUser(SysUser user);

    SysUser findSysUserByToken(String token);

    void delSysUser(String[] ids);
}
